//=============================================================================
// LevelValue.as
// 
// 
// AUTHOR:            Jay Liang
// 
//                  Copyright (c) 2011 Break Media
//                              All Rights Reserved.
//                          
//=============================================================================
package values.level
{
public class LevelValue
{	
	[Data(type="field", mapping="@value")]
	public var value:int;
	
	public var fromResource:Number;
	
	[Data(type="field", mapping="@required")]
	public var requiredResource:Number;
	
	public var resource:Number = 0;
	
	public function clone():LevelValue
	{
		var vo:LevelValue = new LevelValue();
		vo.value = value;
		vo.resource = 0;
		return vo;
	}
}
}